<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>BIRT Chart Library Aggregate Function Extension</title>
<style type="text/css">@import url("file:/C:/JAHT/eclipse/plugins/org.eclipse.platform_3.3.200.v200908070800/book.css");</style>
<style type="text/css">@import url("file:/C:/JAHT/eclipse/configuration/org.eclipse.osgi/bundles/170/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">BIRT Chart Library Aggregate Function Extension</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.birt.chart.engine.aggregatefunctions<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>1.0.0
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to define custom Aggregate Functions for use by the chart library. Each extension must implment the IAggregateFunction interface.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.aggregateFunction">aggregateFunction</a>)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.aggregateFunction">aggregateFunction</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST aggregateFunction</p>
<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">function&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">displayName&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<p class="ConfigMarkupElementDesc">
The definition of an Aggregate Function for use by the Chart Library.</p>
<br>
<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - The name of the aggregate function.</li>
<li><b>function</b> - The class providing the evaluation services for this aggregate function. This class should the implement IAggregateFunction interface.</li>
<li><b>displayName</b> - The display name of the aggregate function.</li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><extension point="org.eclipse.birt.chart.engine.aggregatefunctions">
        <aggregateFunction
              function="org.eclipse.birt.chart.aggregate.Sum"
              name="Sum"/>
        <aggregateFunction
              function="org.eclipse.birt.chart.aggregate.Average"
              name="Average"/>
</extension>
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>The Aggregate Function implementation must implement the IAggregateFunction interface in the <i>org.eclipse.birt.chart.aggregate</i> package. See the javadoc for the interface for more information.
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>The <i>org.eclipse.birt.chart.engine.extension</i> plug-in provides an example of an implementation of IAggregateFuntion.
<p></p>

<br>
<p class="note SchemaCopyright">
Copyright (c) 2004-2005 Actuate Corporation.
All rights reserved. This program and the accompanying materials are made available under the  terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-2.0.html

</p>
</BODY>
</HTML>
